﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.master" AutoEventWireup="true" CodeFile="reportsellday.aspx.cs" Inherits="admin_report_reportsellday" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<%@ Register src="../usercontrol/category.ascx" tagname="category" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceLeft" Runat="Server">
    <uc1:category ID="category1" runat="server" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="portlet x9">
    <div class="portlet-header"><h4>Báo cáo hàng bán theo ngày</h4></div>
    <div class="portlet-content">
    <div class="adrow">
        <asp:Label ID="Label1" runat="server" Text=""></asp:Label></div>
        <div class="adrow">
            <asp:Calendar ID="calday" runat="server" BackColor="#FFFFCC" 
                BorderColor="#FFCC66" BorderWidth="1px" DayNameFormat="Shortest" 
                Font-Names="Verdana" Font-Size="8pt" ForeColor="#663399" Height="150px" 
                onselectionchanged="calday_SelectionChanged" ShowGridLines="True" Width="220px">
                <SelectedDayStyle BackColor="#CCCCFF" Font-Bold="True" />
                <SelectorStyle BackColor="#FFCC66" />
                <TodayDayStyle BackColor="#FFCC66" ForeColor="White" />
                <OtherMonthDayStyle ForeColor="#CC9966" />
                <NextPrevStyle Font-Size="9pt" ForeColor="#FFFFCC" />
                <DayHeaderStyle BackColor="#FFCC66" Font-Bold="True" Height="1px" />
                <TitleStyle BackColor="#990000" Font-Bold="True" Font-Size="9pt" 
                    ForeColor="#FFFFCC" />
            </asp:Calendar>
         </div>
         <div class="adrow">
          <asp:ListView ID="Lisproducts" runat="server" >
              
            <LayoutTemplate>
                         <div class ="pcartborder">
                       
                        <div class ="pcartrow header" style ="font-weight: bold;">
                            <div class ="pcartitemno">STT</div>
                            <div class ="prcol">Mã sản phẩm</div>
                            <div class ="pcol" style="width: 200px">Tên sản phẩm</div>
                            <div class = "prcol">Số lượng</div>
                             <div class = "prcol">Đơn vị tính</div>
                            <div class = "prcol">Đơn giá</div>
                            <div class="prcol"></div>
                        </div> 
                        
                                <asp:PlaceHolder runat="server" ID="itemPlaceholder" />
                     </div>
            </LayoutTemplate>
            <ItemTemplate>
                <div class="pcartrow" style=" border: solid 1px #e0e0e0">
                            <div class ="pcartitemno">
                                   <%# Container.DataItemIndex + 1 %>
                                </div>
                              
                                <asp:HiddenField ID="hdid" runat="server" Visible = "false"  Value = '<%#Eval("Products_Id")%>' />
                                <div class ="prcol">
                                   <%#Eval("Products_Id")%>
                                </div>
                                <div class ="pcol" style=" width: 200px">
                                   <%#Eval("Products_Name")%>
                                </div>
                                <div class = "prcol">
                                      <%#Eval("SoLuong")%>
                                </div>
                                <div class = "prcol">
                                      <%#Eval("Unit")%>
                                </div>
                                 <div class = "prcol">
                                      <%#Eval("Price","{0:0,0}")+" vnđ"%>
                                </div>
                   
                                
                        
                        </div>
            
            </ItemTemplate>
                     <EmptyDataTemplate> <h4>Không có sản phẩm nào được bán trong ngày </h4></EmptyDataTemplate>
            </asp:ListView>
         </div>
    
    </div>
</div>
</asp:Content>

